<!-- /.content-wrapper end -->

</div>
  <!-- /#wrapper end -->
<!-- Sticky Footer -->
<footer class="sticky-footer">
  <div class="container my-auto">
    <div class="copyright text-center my-auto">
      <span>Copyright © Your Website 2019</span>
    </div>
  </div>
</footer>

  <!-- Scroll to Top Button-->
  <a class="scroll-to-top rounded" href="#page-top">
    <i class="fas fa-angle-up"></i>
  </a>

  <!-- Logout Modal-->
  <div class="modal fade" id="logoutModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
      <div class="modal-content">
        <div class="modal-header">
          <h5 class="modal-title" id="exampleModalLabel"> 确定退出？</h5>
          <button class="close" type="button" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">×</span>
          </button>
        </div>
        <div class="modal-body">点击退出按钮退出</div>
        <div class="modal-footer">
          <button class="btn btn-secondary" type="button" data-dismiss="modal">取消</button>
          <a class="btn btn-primary" onclick="javascript:logout()">退出</a>
        </div>
      </div>
    </div>
  </div>

</body>

<script src="/static/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>

<!-- Core plugin JavaScript-->
<script src="/static/vendor/jquery-easing/jquery.easing.min.js"></script>

<!-- Page level plugin JavaScript-->
<script src="/static/vendor/datatables/jquery.dataTables.js"></script>
<script src="/static/vendor/datatables/dataTables.bootstrap4.js"></script>

<!-- Custom scripts for all pages-->
<script src="/static/js/sb-admin.min.js"></script>

<!-- Layui for this page-->
<script src="/static/layui/layui.all.js"></script>
<script src="/static/js/admin/common.js"></script>
<!--
  <script src="/static/js/demo/datatables-demo.js"></script>
-->

<script>
    $(function() {
        logout = function(){
            postData('post','/api/admin/logout',[],function(data){
                if( data.code == 200 ){
                    goTo('/admin/login');
                }else{
                    showTips('退出失败');
                }
            });
        }
    });
</script>


</html>
